﻿@model LoginRequest
@{
    Layout = null;
}

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf8"> 
    <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> 
    <title>登录</title>
    <style type="text/css"> 
    body {background: url("images/login/bg1.jpg"); overflow: hidden; font-family: "Microsoft YaHei";background-color: rgb(30, 126, 208);}
    * {margin: 0px; padding: 0px; font-family: "微软雅黑"; font-weight: normal;}
    .logo_box {left: 50%; top: 50%; width: 400px; height: 400px; color: rgb(238, 238, 238); margin-top: -250px; margin-left: -200px; position: absolute; z-index: 999;}
    .logo_box h3 {height: 155px; text-align: center; color: rgb(255, 255, 255); font-size: 16px;}
    .input_outer {padding: 0px 5px; border-radius: 50px; border: 2px solid rgb(234, 236, 236) !important; border-image: none !important; height: 46px; margin-bottom: 20px; position: relative; -moz-box-shadow: 50px; -webkit-box-shadow: 50px; behavior: url(ie-css3.htc);}
    .imguser {margin: 0px auto; width: 100px; height: 100px;}
    .u_user {background: url("images/login/login_ico.png") -125px 0px; margin: 12px 13px; width: 25px; height: 25px; position: absolute;}
    .u_lock {background-position: -125px -34px; margin: 12px 13px; width: 25px; height: 25px; position: absolute; background-image: url("images/login/login_ico.png");}
    .text {background: 0px; font: 14px/46px "microsoft yahei", Helvetica, Tahoma, Arial, "Microsoft jhengHei"; outline: 0px; border: 0px currentColor; border-image: none; width: 330px; height: 46px; color: rgb(255, 255, 255); margin-left: 50px; display: inline-block; z-index: 100; font-size-adjust: none; font-stretch: normal;}
    .act-but {background: rgb(0, 150, 230); outline: 0px; border-radius: 50px; text-align: center; font-size: 20px; text-decoration: none;}
    .submit {border: 0px currentColor; border-image: none; width: 400px; height: 48px; text-align: center; color: rgb(255, 255, 255); line-height: 48px; margin-top: 5px; display: block; cursor: pointer;}
    .submit:hover {background-position: left top, right bottom, 0px 0px, 0px 0px; background-color: rgb(14, 163, 220);}
    .validation-summary-errors {text-align: center; color: rgb(255, 255, 255); margin-top: 10px;}
    .validation-summary-errors ul { padding: 2px 18px; margin:0; list-style-type: none; text-align: left; }
    .admintip {text-align: center; line-height: 30px; font-size: 16px; margin-top: 20px;}
    :-webkit-autofill {-webkit-text-fill-color: #fff !important;transition: background-color 5000s ease-in-out 0s;}
    </style> 
</head> 
<body>
<div class="logo_box">
    <h3><img class="imguser" src="~/images/login/avatar.png"> <br/>用户登录</h3>
    @using(Html.BeginForm(FormMethod.Post, true, new { @name="loginForm", @autocomplete="off" }))
    {
        <div class="input_outer">
            <span class="u_user"></span>
            @Html.TextBoxFor(m => m.adminuser, new { @class="text", @placeholder="输入用户名", @required="required"  })
        </div>
        <div class="input_outer">
            <span class="u_lock"></span>
            @Html.PasswordFor(m => m.adminpass, new { @class="text", @placeholder="输入密 码", @required="required"  })
        </div>
        <div class="mb2">
            <input name="submit" class="act-but submit" type="Submit" value="登 录">  
            @Html.ValidationSummary(false)
        </div>
    }
    <div class="admintip"></div>
</div>
<div class="stars"></div>
</body>
</html>